home *** CD-ROM | disk | FTP | other *** search
- On 02-Oct-97, mtl.wberg@swipnet.se wrote:
-
- >When i read a text file without that i will recive an error mezz
- >(input to long),
-
- >Ex
- >open in 1,a$
- >repeat
- >input #1,b$
- >until pof(1)=lof(1)
-
- Your better off to load the text file into a memory bank. Once this is
- done then just Peek from it to read each letter and type to the screen.
-
- Screen Open 0,640,200,2,Hires
-
- F$=Fsel$("")
- Open In 1,F$ : L=Lof(1) : Close 1 : Rem Gets file size
- Reserve As Work 10,L : Rem Can be any bank number
- Bload F$,Start(10) : Rem Load file into memory
- '
- While POS<L
- LINE$=Peek$(Start(10)+POS,100,Chr$(10))
- Print LINE$
- Add POS,Len(LINE$)+1
- Wend
-
- Hope this helps,
-
- Anthony Sherratt
-
- --
- ÷ _ ____ ÷ ____`------------------------------------------°
- /.\ ÷ / __/ / __,\ *http://www.talk-101.com/users/asp*
- ,_/ ¡_\_ _/__ \_ / ___/ O°····································°O
- ,_____/ Y_ Y_ ¡ · o #Monty The Wolf - OUT VERY SOON# o
- | ¡ [ ] | [ ] | -÷- Oo.....................................O
- : : *DESIGN* : : ·
-
-
-
-